/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.infor.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 装卸支出单价Entity
 * @author 李超辉
 * @version 2018-09-26
 */
public class LoadingOut extends DataEntity<LoadingOut> {
	
	private static final long serialVersionUID = 1L;
	private String pro;		// 项目
	private String position;		// 职位
	private String gtype;		// 物料类型
	private String type;		// 出入库类型
	private String price;		// 单价
	private Date min;		// 起始
	private Date max;		// 截止
	
	public LoadingOut() {
		super();
	}

	public LoadingOut(String id){
		super(id);
	}

	@ExcelField(title="项目", align=2, sort=6)
	public String getPro() {
		return pro;
	}

	public void setPro(String pro) {
		this.pro = pro;
	}
	
	@ExcelField(title="职位", align=2, sort=7)
	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}
	
	@ExcelField(title="物料类型", align=2, sort=8)
	public String getGtype() {
		return gtype;
	}

	public void setGtype(String gtype) {
		this.gtype = gtype;
	}
	
	@ExcelField(title="出入库类型", align=2, sort=9)
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@ExcelField(title="单价", align=2, sort=10)
	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd")
	@ExcelField(title="起始", align=2, sort=11)
	public Date getMin() {
		return min;
	}

	public void setMin(Date min) {
		this.min = min;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd")
	@ExcelField(title="截止", align=2, sort=12)
	public Date getMax() {
		return max;
	}

	public void setMax(Date max) {
		this.max = max;
	}
	
}